
package com.flower.subject.domain.convent;

import com.flower.subject.domain.entity.SubjectAnswerBO;
import com.flower.subject.infra.basic.entity.SubjectMultiple;
import com.flower.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface RadioSubjectConverter {
    RadioSubjectConverter INSTANT = Mappers.getMapper(RadioSubjectConverter.class);

    SubjectRadio convertBoToEntity(SubjectAnswerBO subjectAnswerBO);


    List<SubjectAnswerBO> covertAnswerBoToBOList(List<SubjectRadio> subjectMultiples);



}
